package coalition.filters;

import java.util.List;

import attributes.HierarchicalAttributes;

public class HierarchicalCoalitionFilter implements CoalitionFilter{

	HierarchicalAttributes hierarchicalAttributes;
	
	public HierarchicalCoalitionFilter(HierarchicalAttributes hierarchicalAttributes){
		this.hierarchicalAttributes = hierarchicalAttributes;
	}
	
	public HierarchicalAttributes getHierarchicalAttributes() {
		return hierarchicalAttributes;
	}

	@Override
	public boolean keep(List<Integer> combination) {
		return hierarchicalAttributes.keep(combination);
	}

}
